package com.kangaroo.myhome.mapper;

import com.kangaroo.myhome.model.CommonSearch;
import com.kangaroo.myhome.model.TInspProject;
import com.kangaroo.myhome.model.TInspProjectExample;
import java.util.List;
import java.util.Map;

import com.kangaroo.myhome.model.TInspProjectExcel;
import org.apache.ibatis.annotations.Param;

public interface TInspProjectMapper {

    List<TInspProject> selectByPagination(CommonSearch commonSearch);

    List<Map> findReportData(CommonSearch commonSearch);

    long selectByPaginationCount(CommonSearch commonSearch);

    List<TInspProject> findAllExcel(CommonSearch commonSearch);

    List<TInspProject> selectByPaginationJson(CommonSearch commonSearch);

    long selectByPaginationJsonCount(CommonSearch commonSearch);

    long countByExample(TInspProjectExample example);

    int deleteByExample(TInspProjectExample example);

    int deleteByPrimaryKey(String id);

    int insert(TInspProject record);

    int insertSelective(TInspProject record);

    List<TInspProject> selectByExample(TInspProjectExample example);

    TInspProject selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TInspProject record, @Param("example") TInspProjectExample example);

    int updateByExample(@Param("record") TInspProject record, @Param("example") TInspProjectExample example);

    int updateByPrimaryKeySelective(TInspProject record);

    int updateByPrimaryKey(TInspProject record);


}